/**
 * @description  请求组件
 */
export const requireRemoteCom = async (pathName = "") => {
  // src/views/permission/page.vue
  const rowRes = await fetch(
    `http://localhost:3000/getSignTempalate?name=${pathName}`
  );
  const renderRaw = await rowRes.text();
  return JSON.parse(renderRaw).data;
};
